Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#716 | display amounts with customizable amount of decimals #721

Merged

Conversation

Viterbo
Copy link
Collaborator

@Viterbo Viterbo commented Apr 27, 2024

Fixes #716

Description

This PR incorporates a new ValueField component to display any token value with or without the symbol. This component has two modes and is shared across all instances. One is static, which always shows 4 digits for all values, and then the dynamic which shows the least decimals needed to display up to 4 digits of precision.

Test scenarios

Token List

Transaction Table

ERC20 Tranfers tab

Transaction Overview

@Viterbo Viterbo self-assigned this Apr 27, 2024
Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for testnet-teloscan ready!

Name Link
🔨 Latest commit da4c732
🔍 Latest deploy log https://app.netlify.com/sites/testnet-teloscan/deploys/662c4337ebc71700087697f7
😎 Deploy Preview https://deploy-preview-721--testnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for teloscan-stage ready!

Name Link
🔨 Latest commit da4c732
🔍 Latest deploy log https://app.netlify.com/sites/teloscan-stage/deploys/662c4337f62a44000895c172
😎 Deploy Preview https://deploy-preview-721--teloscan-stage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for dev-mainnet-teloscan ready!

Name Link
🔨 Latest commit da4c732
🔍 Latest deploy log https://app.netlify.com/sites/dev-mainnet-teloscan/deploys/662c4337119bef0008df8f07
😎 Deploy Preview https://deploy-preview-721--dev-mainnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rozzaswap rozzaswap self-requested a review April 29, 2024 08:45
@rozzaswap rozzaswap merged commit 83ba7f6 into dev Apr 29, 2024
13 checks passed
@rozzaswap rozzaswap deleted the 716-display-amounts-with-customizable-amount-of-decimals branch April 29, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants